package com.yuetong.employee.mapper;

import java.util.List;
import com.yuetong.employee.domain.YtEmployeeBasicInfo;
import com.yuetong.employee.domain.YtEmployeeDocuments;
import com.yuetong.employee.domain.YtEmployeeEntryInfo;

/**
 * 职工基本信息Mapper接口
 * 
 * @author  卓晓君
 * @date 2025-04-24
 */
public interface YtEmployeeBasicInfoMapper 
{
    /**
     * 查询职工基本信息
     * 
     * @param employeeId 职工基本信息主键
     * @return 职工基本信息
     */
    public YtEmployeeBasicInfo selectYtEmployeeBasicInfoByEmployeeId(Long employeeId);

    /**
     * 查询职工基本信息列表
     * 
     * @param ytEmployeeBasicInfo 职工基本信息
     * @return 职工基本信息集合
     */
    public List<YtEmployeeBasicInfo> selectYtEmployeeBasicInfoList(YtEmployeeBasicInfo ytEmployeeBasicInfo);

    /**
     * 新增职工基本信息
     * 
     * @param ytEmployeeBasicInfo 职工基本信息
     * @return 结果
     */
    public int insertYtEmployeeBasicInfo(YtEmployeeBasicInfo ytEmployeeBasicInfo);

    /**
     * 修改职工基本信息
     * 
     * @param ytEmployeeBasicInfo 职工基本信息
     * @return 结果
     */
    public int updateYtEmployeeBasicInfo(YtEmployeeBasicInfo ytEmployeeBasicInfo);

    /**
     * 删除职工基本信息
     * 
     * @param employeeId 职工基本信息主键
     * @return 结果
     */
    public int deleteYtEmployeeBasicInfoByEmployeeId(Long employeeId);

    /**
     * 批量删除职工基本信息
     * 
     * @param employeeIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteYtEmployeeBasicInfoByEmployeeIds(Long[] employeeIds);

    /**
     * 批量删除证件照信息
     * 
     * @param employeeIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteYtEmployeeDocumentsByEmployeeIds(Long[] employeeIds);
    
    /**
     * 批量新增证件照信息
     * 
     * @param ytEmployeeDocumentsList 证件照信息列表
     * @return 结果
     */
    public int batchYtEmployeeDocuments(List<YtEmployeeDocuments> ytEmployeeDocumentsList);
    

    /**
     * 通过职工基本信息主键删除证件照信息信息
     * 
     * @param employeeId 职工基本信息ID
     * @return 结果
     */
    public int deleteYtEmployeeDocumentsByEmployeeId(Long employeeId);
    /**
     * 批量删除入职信息
     *
     * @param employeeIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteYtEmployeeEntryInfoByEntryIds(Long[] employeeIds);

    /**
     * 批量新增入职信息
     *
     * @param ytEmployeeEntryInfoList 入职信息列表
     * @return 结果
     */
    public int batchYtEmployeeEntryInfo(List<YtEmployeeEntryInfo> ytEmployeeEntryInfoList);


    /**
     * 通过职工基本信息主键删除入职信息信息
     *
     * @param employeeId 职工基本信息ID
     * @return 结果
     */
    public int deleteYtEmployeeEntryInfoByEntryId(Long employeeId);

    /**
     * 根据userId查询职工基本信息
     *
     * @param userId
     * @return
     */
    public YtEmployeeBasicInfo selectYtEmployeeBasicInfoByUserId(Long userId);
}
